package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcChargeModel;
import com.csun.cmny.provider.model.dto.OmcChargeModelDto;
import com.csun.cmny.provider.pojo.OmcFood;

import java.util.List;

/**
 * @author chenzheng
 * @description:
 * @date 2019/8/13 16:00
 */
public interface OmcChargeModelService extends IService<OmcChargeModel> {

    /**
     * 新增或者修改收费模块信息
     * @param omcChargeModel
     * @param loginAuthDto
     * @return
     */
    int saveOmcChargeModel(OmcChargeModel omcChargeModel, LoginAuthDto loginAuthDto);

    /**
     * 根据收费模块名模糊查询收费模信息
     * @param omcChargeModelDto
     * @return
     */
    List<OmcChargeModel> selectByName(OmcChargeModelDto omcChargeModelDto);
}
